import request from '@/utils/request'

export const getDepartMentAPI = () => request.get('/company/department')

// 获取部门负责人列表
export const getUsernameAPI = () => request.get('/sys/user/simple')

// 新增部门
export const addDeptAPI = (data) => request.post('/company/department', data)

// 获取部门
export const getDepartMentDetailAPI = (id) => request.get(`/company/department/${id}`)

